package com.jhgk.jhcee.auth.model;

import java.util.ArrayList;
import java.util.List;

public class SchoolComprehensiveRankExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SchoolComprehensiveRankExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRankIsNull() {
            addCriterion("rank is null");
            return (Criteria) this;
        }

        public Criteria andRankIsNotNull() {
            addCriterion("rank is not null");
            return (Criteria) this;
        }

        public Criteria andRankEqualTo(Integer value) {
            addCriterion("rank =", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotEqualTo(Integer value) {
            addCriterion("rank <>", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankGreaterThan(Integer value) {
            addCriterion("rank >", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankGreaterThanOrEqualTo(Integer value) {
            addCriterion("rank >=", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankLessThan(Integer value) {
            addCriterion("rank <", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankLessThanOrEqualTo(Integer value) {
            addCriterion("rank <=", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankIn(List<Integer> values) {
            addCriterion("rank in", values, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotIn(List<Integer> values) {
            addCriterion("rank not in", values, "rank");
            return (Criteria) this;
        }

        public Criteria andRankBetween(Integer value1, Integer value2) {
            addCriterion("rank between", value1, value2, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotBetween(Integer value1, Integer value2) {
            addCriterion("rank not between", value1, value2, "rank");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIsNull() {
            addCriterion("school_name is null");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIsNotNull() {
            addCriterion("school_name is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolNameEqualTo(String value) {
            addCriterion("school_name =", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotEqualTo(String value) {
            addCriterion("school_name <>", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameGreaterThan(String value) {
            addCriterion("school_name >", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameGreaterThanOrEqualTo(String value) {
            addCriterion("school_name >=", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLessThan(String value) {
            addCriterion("school_name <", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLessThanOrEqualTo(String value) {
            addCriterion("school_name <=", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameLike(String value) {
            addCriterion("school_name like", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotLike(String value) {
            addCriterion("school_name not like", value, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameIn(List<String> values) {
            addCriterion("school_name in", values, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotIn(List<String> values) {
            addCriterion("school_name not in", values, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameBetween(String value1, String value2) {
            addCriterion("school_name between", value1, value2, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolNameNotBetween(String value1, String value2) {
            addCriterion("school_name not between", value1, value2, "schoolName");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidIsNull() {
            addCriterion("school_uuid is null");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidIsNotNull() {
            addCriterion("school_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidEqualTo(String value) {
            addCriterion("school_uuid =", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidNotEqualTo(String value) {
            addCriterion("school_uuid <>", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidGreaterThan(String value) {
            addCriterion("school_uuid >", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidGreaterThanOrEqualTo(String value) {
            addCriterion("school_uuid >=", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidLessThan(String value) {
            addCriterion("school_uuid <", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidLessThanOrEqualTo(String value) {
            addCriterion("school_uuid <=", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidLike(String value) {
            addCriterion("school_uuid like", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidNotLike(String value) {
            addCriterion("school_uuid not like", value, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidIn(List<String> values) {
            addCriterion("school_uuid in", values, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidNotIn(List<String> values) {
            addCriterion("school_uuid not in", values, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidBetween(String value1, String value2) {
            addCriterion("school_uuid between", value1, value2, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolUuidNotBetween(String value1, String value2) {
            addCriterion("school_uuid not between", value1, value2, "schoolUuid");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeIsNull() {
            addCriterion("school_type is null");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeIsNotNull() {
            addCriterion("school_type is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeEqualTo(String value) {
            addCriterion("school_type =", value, "schoolType");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeNotEqualTo(String value) {
            addCriterion("school_type <>", value, "schoolType");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeGreaterThan(String value) {
            addCriterion("school_type >", value, "schoolType");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeGreaterThanOrEqualTo(String value) {
            addCriterion("school_type >=", value, "schoolType");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeLessThan(String value) {
            addCriterion("school_type <", value, "schoolType");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeLessThanOrEqualTo(String value) {
            addCriterion("school_type <=", value, "schoolType");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeLike(String value) {
            addCriterion("school_type like", value, "schoolType");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeNotLike(String value) {
            addCriterion("school_type not like", value, "schoolType");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeIn(List<String> values) {
            addCriterion("school_type in", values, "schoolType");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeNotIn(List<String> values) {
            addCriterion("school_type not in", values, "schoolType");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeBetween(String value1, String value2) {
            addCriterion("school_type between", value1, value2, "schoolType");
            return (Criteria) this;
        }

        public Criteria andSchoolTypeNotBetween(String value1, String value2) {
            addCriterion("school_type not between", value1, value2, "schoolType");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreIsNull() {
            addCriterion("science_research_score is null");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreIsNotNull() {
            addCriterion("science_research_score is not null");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreEqualTo(Float value) {
            addCriterion("science_research_score =", value, "scienceResearchScore");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreNotEqualTo(Float value) {
            addCriterion("science_research_score <>", value, "scienceResearchScore");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreGreaterThan(Float value) {
            addCriterion("science_research_score >", value, "scienceResearchScore");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreGreaterThanOrEqualTo(Float value) {
            addCriterion("science_research_score >=", value, "scienceResearchScore");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreLessThan(Float value) {
            addCriterion("science_research_score <", value, "scienceResearchScore");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreLessThanOrEqualTo(Float value) {
            addCriterion("science_research_score <=", value, "scienceResearchScore");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreIn(List<Float> values) {
            addCriterion("science_research_score in", values, "scienceResearchScore");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreNotIn(List<Float> values) {
            addCriterion("science_research_score not in", values, "scienceResearchScore");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreBetween(Float value1, Float value2) {
            addCriterion("science_research_score between", value1, value2, "scienceResearchScore");
            return (Criteria) this;
        }

        public Criteria andScienceResearchScoreNotBetween(Float value1, Float value2) {
            addCriterion("science_research_score not between", value1, value2, "scienceResearchScore");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreIsNull() {
            addCriterion("talent_training_score is null");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreIsNotNull() {
            addCriterion("talent_training_score is not null");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreEqualTo(Float value) {
            addCriterion("talent_training_score =", value, "talentTrainingScore");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreNotEqualTo(Float value) {
            addCriterion("talent_training_score <>", value, "talentTrainingScore");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreGreaterThan(Float value) {
            addCriterion("talent_training_score >", value, "talentTrainingScore");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreGreaterThanOrEqualTo(Float value) {
            addCriterion("talent_training_score >=", value, "talentTrainingScore");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreLessThan(Float value) {
            addCriterion("talent_training_score <", value, "talentTrainingScore");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreLessThanOrEqualTo(Float value) {
            addCriterion("talent_training_score <=", value, "talentTrainingScore");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreIn(List<Float> values) {
            addCriterion("talent_training_score in", values, "talentTrainingScore");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreNotIn(List<Float> values) {
            addCriterion("talent_training_score not in", values, "talentTrainingScore");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreBetween(Float value1, Float value2) {
            addCriterion("talent_training_score between", value1, value2, "talentTrainingScore");
            return (Criteria) this;
        }

        public Criteria andTalentTrainingScoreNotBetween(Float value1, Float value2) {
            addCriterion("talent_training_score not between", value1, value2, "talentTrainingScore");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreIsNull() {
            addCriterion("comprehensive_reputation_score is null");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreIsNotNull() {
            addCriterion("comprehensive_reputation_score is not null");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreEqualTo(Float value) {
            addCriterion("comprehensive_reputation_score =", value, "comprehensiveReputationScore");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreNotEqualTo(Float value) {
            addCriterion("comprehensive_reputation_score <>", value, "comprehensiveReputationScore");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreGreaterThan(Float value) {
            addCriterion("comprehensive_reputation_score >", value, "comprehensiveReputationScore");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreGreaterThanOrEqualTo(Float value) {
            addCriterion("comprehensive_reputation_score >=", value, "comprehensiveReputationScore");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreLessThan(Float value) {
            addCriterion("comprehensive_reputation_score <", value, "comprehensiveReputationScore");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreLessThanOrEqualTo(Float value) {
            addCriterion("comprehensive_reputation_score <=", value, "comprehensiveReputationScore");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreIn(List<Float> values) {
            addCriterion("comprehensive_reputation_score in", values, "comprehensiveReputationScore");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreNotIn(List<Float> values) {
            addCriterion("comprehensive_reputation_score not in", values, "comprehensiveReputationScore");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreBetween(Float value1, Float value2) {
            addCriterion("comprehensive_reputation_score between", value1, value2, "comprehensiveReputationScore");
            return (Criteria) this;
        }

        public Criteria andComprehensiveReputationScoreNotBetween(Float value1, Float value2) {
            addCriterion("comprehensive_reputation_score not between", value1, value2, "comprehensiveReputationScore");
            return (Criteria) this;
        }

        public Criteria andTotalSocreIsNull() {
            addCriterion("total_socre is null");
            return (Criteria) this;
        }

        public Criteria andTotalSocreIsNotNull() {
            addCriterion("total_socre is not null");
            return (Criteria) this;
        }

        public Criteria andTotalSocreEqualTo(Float value) {
            addCriterion("total_socre =", value, "totalSocre");
            return (Criteria) this;
        }

        public Criteria andTotalSocreNotEqualTo(Float value) {
            addCriterion("total_socre <>", value, "totalSocre");
            return (Criteria) this;
        }

        public Criteria andTotalSocreGreaterThan(Float value) {
            addCriterion("total_socre >", value, "totalSocre");
            return (Criteria) this;
        }

        public Criteria andTotalSocreGreaterThanOrEqualTo(Float value) {
            addCriterion("total_socre >=", value, "totalSocre");
            return (Criteria) this;
        }

        public Criteria andTotalSocreLessThan(Float value) {
            addCriterion("total_socre <", value, "totalSocre");
            return (Criteria) this;
        }

        public Criteria andTotalSocreLessThanOrEqualTo(Float value) {
            addCriterion("total_socre <=", value, "totalSocre");
            return (Criteria) this;
        }

        public Criteria andTotalSocreIn(List<Float> values) {
            addCriterion("total_socre in", values, "totalSocre");
            return (Criteria) this;
        }

        public Criteria andTotalSocreNotIn(List<Float> values) {
            addCriterion("total_socre not in", values, "totalSocre");
            return (Criteria) this;
        }

        public Criteria andTotalSocreBetween(Float value1, Float value2) {
            addCriterion("total_socre between", value1, value2, "totalSocre");
            return (Criteria) this;
        }

        public Criteria andTotalSocreNotBetween(Float value1, Float value2) {
            addCriterion("total_socre not between", value1, value2, "totalSocre");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}